home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / v8n05.arc / MULTI.BAT < prev    next >
Encoding:
DOS Batch File  |  1989-02-15  |  252 b   |  11 lines

  1. @ECHO OFF
  2. CLS
  3. IF "%2" == "" GOTO error
  4. ECHO Executing the command %1 for files matching %2
  5. FOR %%X IN (%2) DO COMMAND/C %1 %%X
  6. GOTO end
  7. :error
  8. ECHO SYNTAX: MULTI command filename.ext
  9. ECHO   e.g. "MULTI TYPE *.*" or "MULTI BROWSE *.TXT"
  10. :end
  11.